package com.exam.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;

//填空题实体类
@Data
@Entity
public class FillQuestion {
    @Id
    private String id;

    @JsonProperty("questionId")
    private Integer questionId;

    @JsonProperty("subject")
    private String subject;

    @JsonProperty("question")
    private String question;

    @JsonProperty("answer")
    private String answer;

    @JsonProperty("score")
    private Integer score;

    @JsonProperty("level")
    private String level;

    @JsonProperty("section")
    private String section;

    @JsonProperty("analysis")
    private String analysis; //题目解析
}
